import os

class Config:
    # 确保路径指向实际存在的目录
    SQLALCHEMY_DATABASE_URI = f'sqlite:///{os.path.abspath("data/reviews.db")}'
    SQLALCHEMY_TRACK_MODIFICATIONS = False